home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news text
| default
| |
99%
| file
| C source, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 62 6c | 61 63 6b 2e 77 65 65 67 |Path: bl|ack.weeg|
|00000010| 2e 75 69 6f 77 61 2e 65 | 64 75 21 72 6f 62 69 6e |.uiowa.e|du!robin|
|00000020| 73 6f 6e 0a 46 72 6f 6d | 3a 20 54 68 65 20 41 6d |son.From|: The Am|
|00000030| 6f 72 70 68 6f 75 73 20 | 4d 61 73 73 20 3c 72 6f |orphous |Mass <ro|
|00000040| 62 69 6e 73 6f 6e 40 62 | 6c 75 65 2e 77 65 65 67 |binson@b|lue.weeg|
|00000050| 2e 75 69 6f 77 61 2e 65 | 64 75 3e 0a 4e 65 77 73 |.uiowa.e|du>.News|
|00000060| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 6c 61 6e |groups: |comp.lan|
|00000070| 67 2e 63 0a 53 75 62 6a | 65 63 74 3a 20 52 65 3a |g.c.Subj|ect: Re:|
|00000080| 20 50 6c 65 61 73 65 20 | 50 6c 65 61 73 65 20 48 | Please |Please H|
|00000090| 65 6c 70 21 20 2d 20 70 | 6f 69 6e 74 65 72 20 6e |elp! - p|ointer n|
|000000a0| 6f 74 61 74 69 6f 6e 0a | 44 61 74 65 3a 20 53 61 |otation.|Date: Sa|
|000000b0| 74 2c 20 32 34 20 46 65 | 62 20 31 39 39 36 20 31 |t, 24 Fe|b 1996 1|
|000000c0| 32 3a 30 34 3a 32 32 20 | 2d 30 36 30 30 0a 4f 72 |2:04:22 |-0600.Or|
|000000d0| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 55 6e 69 76 |ganizati|on: Univ|
|000000e0| 65 72 73 69 74 79 20 6f | 66 20 49 6f 77 61 2c 20 |ersity o|f Iowa, |
|000000f0| 49 6f 77 61 20 43 69 74 | 79 2c 20 49 41 2c 20 55 |Iowa Cit|y, IA, U|
|00000100| 53 41 0a 44 69 73 74 72 | 69 62 75 74 69 6f 6e 3a |SA.Distr|ibution:|
|00000110| 20 77 6f 72 6c 64 0a 4d | 65 73 73 61 67 65 2d 49 | world.M|essage-I|
|00000120| 44 3a 20 3c 50 69 6e 65 | 2e 41 33 32 2e 33 2e 39 |D: <Pine|.A32.3.9|
|00000130| 31 2e 39 36 30 32 32 34 | 31 31 35 36 31 37 2e 33 |1.960224|115617.3|
|00000140| 31 38 35 38 44 2d 31 30 | 30 30 30 30 40 62 6c 61 |1858D-10|0000@bla|
|00000150| 63 6b 2e 77 65 65 67 2e | 75 69 6f 77 61 2e 65 64 |ck.weeg.|uiowa.ed|
|00000160| 75 3e 0a 52 65 66 65 72 | 65 6e 63 65 73 3a 20 3c |u>.Refer|ences: <|
|00000170| 34 67 6e 6c 76 39 24 31 | 66 68 40 6e 65 77 73 2e |4gnlv9$1|fh@news.|
|00000180| 6d 69 73 74 72 61 6c 2e | 63 6f 2e 75 6b 3e 0a 4e |mistral.|co.uk>.N|
|00000190| 4e 54 50 2d 50 6f 73 74 | 69 6e 67 2d 48 6f 73 74 |NTP-Post|ing-Host|
|000001a0| 3a 20 62 6c 61 63 6b 2e | 77 65 65 67 2e 75 69 6f |: black.|weeg.uio|
|000001b0| 77 61 2e 65 64 75 0a 4d | 69 6d 65 2d 56 65 72 73 |wa.edu.M|ime-Vers|
|000001c0| 69 6f 6e 3a 20 31 2e 30 | 0a 43 6f 6e 74 65 6e 74 |ion: 1.0|.Content|
|000001d0| 2d 54 79 70 65 3a 20 54 | 45 58 54 2f 50 4c 41 49 |-Type: T|EXT/PLAI|
|000001e0| 4e 3b 20 63 68 61 72 73 | 65 74 3d 55 53 2d 41 53 |N; chars|et=US-AS|
|000001f0| 43 49 49 0a 58 2d 53 65 | 6e 64 65 72 3a 20 72 6f |CII.X-Se|nder: ro|
|00000200| 62 69 6e 73 6f 6e 40 62 | 6c 61 63 6b 2e 77 65 65 |binson@b|lack.wee|
|00000210| 67 2e 75 69 6f 77 61 2e | 65 64 75 0a 49 6e 2d 52 |g.uiowa.|edu.In-R|
|00000220| 65 70 6c 79 2d 54 6f 3a | 20 3c 34 67 6e 6c 76 39 |eply-To:| <4gnlv9|
|00000230| 24 31 66 68 40 6e 65 77 | 73 2e 6d 69 73 74 72 61 |$1fh@new|s.mistra|
|00000240| 6c 2e 63 6f 2e 75 6b 3e | 20 0a 0a 4f 6e 20 53 61 |l.co.uk>| ..On Sa|
|00000250| 74 2c 20 32 34 20 46 65 | 62 20 31 39 39 36 2c 20 |t, 24 Fe|b 1996, |
|00000260| 4d 69 6b 65 20 42 61 72 | 6e 61 72 64 20 77 72 6f |Mike Bar|nard wro|
|00000270| 74 65 3a 0a 0a 3e 20 48 | 69 2e 0a 3e 20 0a 3e 20 |te:..> H|i..> .> |
|00000280| 49 27 6d 20 72 65 70 6f | 73 74 69 6e 67 20 74 68 |I'm repo|sting th|
|00000290| 69 73 20 61 73 20 49 27 | 76 65 20 68 61 64 20 6e |is as I'|ve had n|
|000002a0| 6f 20 72 65 70 6c 69 65 | 73 20 61 6e 64 20 49 27 |o replie|s and I'|
|000002b0| 6d 20 73 74 69 6c 6c 20 | 77 69 74 68 6f 75 74 20 |m still |without |
|000002c0| 74 68 65 0a 3e 20 69 6e | 66 6f 72 6d 61 74 69 6f |the.> in|formatio|
|000002d0| 6e 2e 0a 3e 20 0a 3e 20 | 49 27 76 65 20 72 65 61 |n..> .> |I've rea|
|000002e0| 64 20 6d 79 20 43 20 62 | 6f 6f 6b 2e 20 49 27 76 |d my C b|ook. I'v|
|000002f0| 65 20 67 6f 74 74 65 6e | 20 74 68 20 43 20 46 41 |e gotten| th C FA|
|00000300| 51 2e 20 49 27 76 65 20 | 72 65 61 64 20 74 68 65 |Q. I've |read the|
|00000310| 20 66 69 6c 65 0a 3e 20 | 22 70 74 72 74 75 74 6f | file.> |"ptrtuto|
|00000320| 72 2e 74 78 74 22 20 61 | 20 74 75 74 6f 72 69 61 |r.txt" a| tutoria|
|00000330| 6c 20 6f 6e 20 70 6f 69 | 6e 74 65 72 73 2e 20 42 |l on poi|nters. B|
|00000340| 75 74 20 49 20 68 61 76 | 6e 27 74 20 73 65 65 6e |ut I hav|n't seen|
|00000350| 20 65 78 70 6c 61 69 6e | 65 64 20 74 68 65 0a 3e | explain|ed the.>|
|00000360| 20 66 6f 6c 6c 6f 77 69 | 6e 67 2e 20 43 61 6e 20 | followi|ng. Can |
|00000370| 79 6f 75 20 68 65 6c 70 | 3f 0a 3e 20 0a 3e 20 53 |you help|?.> .> S|
|00000380| 6f 6d 65 74 69 6d 65 73 | 20 77 68 65 6e 20 70 72 |ometimes| when pr|
|00000390| 6f 74 6f 74 79 70 69 6e | 67 20 61 20 66 75 6e 63 |ototypin|g a func|
|000003a0| 74 69 6f 6e 20 74 68 65 | 20 66 75 6e 63 74 69 6f |tion the| functio|
|000003b0| 6e 20 6e 61 6d 65 20 69 | 73 20 70 72 65 2d 66 69 |n name i|s pre-fi|
|000003c0| 78 65 64 0a 3e 20 62 79 | 20 61 6e 20 61 73 74 65 |xed.> by| an aste|
|000003d0| 72 69 73 6b 2e 20 57 68 | 79 3f 20 57 68 61 74 20 |risk. Wh|y? What |
|000003e0| 64 6f 65 73 20 69 74 20 | 6d 65 61 6e 3f 20 54 68 |does it |mean? Th|
|000003f0| 69 73 20 69 73 20 61 20 | 71 75 6f 74 65 20 66 72 |is is a |quote fr|
|00000400| 6f 6d 20 74 68 65 0a 3e | 20 70 6f 69 6e 74 65 72 |om the.>| pointer|
|00000410| 20 74 75 74 6f 72 69 61 | 6c 20 74 65 78 74 20 62 | tutoria|l text b|
|00000420| 79 20 54 65 64 20 4a 65 | 6e 73 65 6e 2e 2e 2e 0a |y Ted Je|nsen....|
|00000430| 0a 20 20 46 75 6e 63 74 | 69 6f 6e 73 20 61 72 65 |. Funct|ions are|
|00000440| 20 64 65 63 6c 61 72 65 | 64 20 61 73 20 0a 0a 3c | declare|d as ..<|
|00000450| 72 65 74 75 72 6e 2d 74 | 79 70 65 3e 20 3c 66 75 |return-t|ype> <fu|
|00000460| 6e 63 2d 6e 61 6d 65 3e | 28 5b 3c 70 61 72 61 6d |nc-name>|([<param|
|00000470| 2d 6c 69 73 74 3e 5d 29 | 3b 0a 0a 20 20 73 6f 20 |-list>])|;.. so |
|00000480| 61 20 64 65 63 6c 61 72 | 61 74 69 6f 6e 20 6c 69 |a declar|ation li|
|00000490| 6b 65 20 0a 0a 63 68 61 | 72 20 2a 66 6f 6f 28 63 |ke ..cha|r *foo(c|
|000004a0| 68 61 72 20 2a 29 3b 0a | 0a 20 20 6d 65 61 6e 73 |har *);.|. means|
|000004b0| 20 74 68 61 74 20 74 68 | 65 20 66 75 6e 63 74 69 | that th|e functi|
|000004c0| 6f 6e 20 66 6f 6f 20 68 | 61 73 20 61 20 72 65 74 |on foo h|as a ret|
|000004d0| 75 72 6e 20 74 79 70 65 | 20 6f 66 20 63 68 61 72 |urn type| of char|
|000004e0| 20 2a 20 28 72 65 61 64 | 20 22 70 6f 69 6e 74 65 | * (read| "pointe|
|000004f0| 72 20 0a 74 6f 20 63 68 | 61 72 22 29 20 61 6e 64 |r .to ch|ar") and|
|00000500| 20 74 61 6b 65 73 20 61 | 20 70 61 72 61 6d 65 74 | takes a| paramet|
|00000510| 65 72 20 6f 66 20 74 79 | 70 65 20 63 68 61 72 20 |er of ty|pe char |
|00000520| 2a 2e 0a 0a 20 20 49 74 | 20 63 6f 75 6c 64 20 61 |*... It| could a|
|00000530| 6c 73 6f 20 62 65 20 77 | 72 69 74 74 65 6e 20 61 |lso be w|ritten a|
|00000540| 73 20 63 68 61 72 2a 20 | 66 6f 6f 28 20 63 68 61 |s char* |foo( cha|
|00000550| 72 2a 20 29 3b 2e 0a 0a | 0a 3e 20 50 75 74 74 69 |r* );...|.> Putti|
|00000560| 6e 67 20 61 6e 20 61 73 | 74 65 72 69 73 6b 20 62 |ng an as|terisk b|
|00000570| 65 66 6f 72 65 20 61 20 | 76 61 72 69 61 62 6c 65 |efore a |variable|
|00000580| 20 6e 61 6d 65 20 64 65 | 63 6c 61 72 65 73 20 69 | name de|clares i|
|00000590| 74 20 61 73 20 61 20 70 | 6f 69 6e 74 65 72 0a 3e |t as a p|ointer.>|
|000005a0| 20 76 61 72 69 61 62 6c | 65 2e 0a 0a 20 20 59 6f | variabl|e... Yo|
|000005b0| 75 20 63 61 6e 20 74 68 | 69 6e 6b 20 6f 66 20 76 |u can th|ink of v|
|000005c0| 61 72 69 61 62 6c 65 20 | 64 65 63 6c 61 72 61 74 |ariable |declarat|
|000005d0| 69 6f 6e 73 20 74 68 65 | 20 73 61 6d 65 20 77 61 |ions the| same wa|
|000005e0| 79 20 61 73 20 66 75 6e | 63 74 69 6f 6e 20 0a 64 |y as fun|ction .d|
|000005f0| 65 63 6c 61 72 61 74 69 | 6f 6e 73 20 28 6f 72 20 |eclarati|ons (or |
|00000600| 64 65 66 69 6e 69 74 69 | 6f 6e 73 29 2e 0a 0a 69 |definiti|ons)...i|
|00000610| 6e 74 20 2a 69 70 3b 0a | 0a 20 64 65 63 6c 61 72 |nt *ip;.|. declar|
|00000620| 65 73 20 69 70 20 61 73 | 20 62 65 69 6e 67 20 6f |es ip as| being o|
|00000630| 66 20 74 79 70 65 20 69 | 6e 74 20 2a 20 28 22 70 |f type i|nt * ("p|
|00000640| 6f 69 6e 74 65 72 20 74 | 6f 20 69 6e 74 22 29 2e |ointer t|o int").|
|00000650| 0a 0a 3e 20 57 68 79 20 | 69 73 20 74 68 65 72 65 |..> Why |is there|
|00000660| 20 73 6f 6d 65 74 69 6d | 65 73 20 61 6e 20 61 73 | sometim|es an as|
|00000670| 74 65 72 69 73 6b 20 41 | 46 54 45 52 20 61 20 76 |terisk A|FTER a v|
|00000680| 61 72 69 61 62 6c 65 3f | 0a 0a 20 20 2a 20 69 73 |ariable?|.. * is|
|00000690| 20 61 6c 73 6f 20 74 68 | 65 20 6d 75 6c 74 69 70 | also th|e multip|
|000006a0| 6c 69 63 61 74 69 6f 6e | 20 6f 70 65 72 61 74 6f |lication| operato|
|000006b0| 72 2e 20 54 68 61 74 27 | 73 20 74 68 65 20 6f 6e |r. That'|s the on|
|000006c0| 6c 79 20 65 78 70 6c 61 | 6e 61 74 69 6f 6e 20 49 |ly expla|nation I|
|000006d0| 20 0a 63 61 6e 20 74 68 | 69 6e 6b 20 6f 66 2e 20 | .can th|ink of. |
|000006e0| 20 70 20 2a 20 35 20 20 | 6d 65 61 6e 73 20 22 6d | p * 5 |means "m|
|000006f0| 75 6c 74 69 70 6c 79 20 | 70 20 62 79 20 35 2e 22 |ultiply |p by 5."|
|00000700| 20 20 49 74 20 63 61 6e | 20 61 6c 73 6f 20 62 65 | It can| also be|
|00000710| 20 77 72 69 74 74 65 6e | 20 0a 70 2a 35 2c 20 70 | written| .p*5, p|
|00000720| 2a 20 35 2c 20 61 6e 64 | 20 70 20 2a 35 2c 20 61 |* 5, and| p *5, a|
|00000730| 6c 74 68 6f 75 67 68 20 | 74 68 65 20 6c 61 74 74 |lthough |the latt|
|00000740| 65 72 20 32 20 61 72 65 | 20 65 78 74 72 65 6d 65 |er 2 are| extreme|
|00000750| 6c 79 20 72 61 72 65 2e | 0a 0a 0a 2f 2a 2a 4a 61 |ly rare.|.../**Ja|
|00000760| 6d 65 73 20 52 6f 62 69 | 6e 73 6f 6e 2a 2a 2a 2a |mes Robi|nson****|
|00000770| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000780| 2a 2a 2a 20 20 20 20 20 | 20 20 20 20 20 20 20 0a |*** | .|
|00000790| 20 20 22 41 6e 20 69 6d | 70 6f 72 74 61 6e 74 20 | "An im|portant |
|000007a0| 67 6f 61 6c 20 6f 66 20 | 61 6c 6d 6f 73 74 20 65 |goal of |almost e|
|000007b0| 76 65 72 79 20 67 72 61 | 70 68 69 63 73 20 70 72 |very gra|phics pr|
|000007c0| 6f 67 72 61 6d 20 69 73 | 20 74 6f 20 64 72 61 77 |ogram is| to draw|
|000007d0| 20 70 69 63 74 75 72 65 | 73 20 6f 6e 0a 20 74 68 | picture|s on. th|
|000007e0| 65 20 73 63 72 65 65 6e | 2e 22 20 20 20 20 2d 2d |e screen|." --|
|000007f0| 20 4e 65 69 64 65 72 2c | 20 44 61 76 69 73 20 26 | Neider,| Davis &|
|00000800| 20 57 6f 6f 2c 20 5f 4f | 70 65 6e 47 4c 5f 50 72 | Woo, _O|penGL_Pr|
|00000810| 6f 67 72 61 6d 6d 69 6e | 67 5f 47 75 69 64 65 5f |ogrammin|g_Guide_|
|00000820| 2c 20 43 68 61 70 74 65 | 72 20 31 30 0a 20 20 20 |, Chapte|r 10. |
|00000830| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000840| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000850| 20 20 20 20 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | ****|********|
|00000860| 2a 6a 61 6d 65 73 2d 72 | 6f 62 69 6e 73 6f 6e 40 |*james-r|obinson@|
|00000870| 75 69 6f 77 61 2e 65 64 | 75 2a 2a 2f 0a |uiowa.ed|u**/. |
+--------+-------------------------+-------------------------+--------+--------+